﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OAProject.Domain.Entities;

namespace OAProject.Domain.Interfaces
{
    public interface IRoleUsersrepository
    {
        /// <summary>
        /// 获取父级菜单
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        List<Menus> GetParentMenu(int id);
        /// <summary>
        /// 获取子集菜单
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        List<Menus> GetChildMenu(int id);
    }
}
